package com.redside.service;

import java.util.List;

import com.redside.dao.exception.DataException;
import com.redside.model.list.OptionsBean;

public interface OptionsBeanLookupManager {
    
    /**
     * Gets OptionsBean based on id
     * @param id the id
     * @return populated expectedComplaint object
     */
    public OptionsBean findById(String sql, String id) throws DataException;
    
    /**
     * Gets OptionsBean based on id
     * @param id the id
     * @return populated expectedComplaint object
     */
    public OptionsBean findById(String sql, Long id) throws DataException;    
    
    /**
     * 
     * @return a List of OptionBean objects
     */
    public List<OptionsBean> findAll(String sql) throws DataException;
    
    /**
     * 
     * @return a List of OptionBean objects
     */
    public List<OptionsBean> findAll(String sql, String defaultId, String defaultValue) throws DataException;
}